<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>404</title>

    <script th:src="@{/js/jquery.min.js}"></script>

    <base th:href="${#request.getContextPath()}+'/'">
    <link rel="stylesheet" th:href="@{/css/amazeui.min.css}" />
    <link rel="stylesheet" th:href="@{/css/amazeui.datatables.min.css}" />
    <link rel="stylesheet" th:href="@{/css/app.css}">
    <style>
        body {
            background-image:url(/p2p/img/404.jpg);
            background-position:center top;
            background-repeat:no-repeat;
        }
    </style>
</head>
<body>
    <div class="am-g tpl-g" style="margin-top: 600px">
        <h1 style="color: #caebfb;text-align: center">你所访问的资源受限,页面将在<span id="time">100</span>s后,跳转至登录界面,<a th:href="@{/login}">点击此处</a>立即跳转</h1>
    </div>
<script>
    var int=self.setInterval("clock()",1000);
    function clock()
    {
        var dim=$("#time");
        d=dim.html();
        if(d==0){
            window.clearInterval(int);
            location.href = "/p2p/login";
        }else{
            dim.text(d-1);
        }
    }
</script>
</body>
</html>
